#ifndef _CONFIGCLIENT__H_
#define _CONFIGCLIENT__H_

#include "ConfigSlice.h"
#include "Ice/Ice.h"
#include "ConfigRecordSet.h"
using namespace Config;
#include "Poco/Mutex.h"
namespace Config
{

#define ConfigClientObj ConfigClient::getObj()

	class ConfigClient
	{
	public:
		static ConfigClient & getObj();

		ConfigMasterPrx getMasterPrx();


	private:
		 //typedef vector<Ice::ObjectPrx> TSeqObjectPrx;
		 ConfigClient();
		 Ice::CommunicatorPtr ic;
         ConfigMasterPrx master;
		 //TSeqObjectPrx _seqObjectPrx;
		 //int i ;
		 ////static ConfigClient _instance;
		 Poco::FastMutex _m;
	};



}




#endif